package TestDay;

public class Test08 {
    public static void main(String[] args) {
//        System.out.println(getMin(3.5,4.6));
        double min=getMin(3.5,5.6);
        System.out.println("最小值为"+min);
    }
    public static double getMin(double a,double b){
        if(a>b){
            return a;
        }else{
            return b;
        }

    }
}
